﻿using System;
using System.Collections.Generic;
using System.Text;
using Sinacor.Infra.Service.Validation;

namespace Sinacor.Servico.Bovespa.Corretagem.BusinessEntity
{
    public class Periodo
    {
        #region Campos
        private DateTime? _dataFinal;
        private DateTime? _dataInicial;
        #endregion

        #region Propriedades
        [NotNull(109062)]
        [NotNull(109104, "CadastroDescontos")]
        public DateTime? DataFinal
        {
            get
            {
                return _dataFinal;
            }
            set
            {
                _dataFinal = value;
            }
        }
        [NotNull(109061)]
        [NotNull(109103, "CadastroDescontos")]
        public DateTime? DataInicial
        {
            get
            {
                return _dataInicial;
            }
            set
            {
                _dataInicial = value;
            }
        }
        #endregion
    }
}
